package top.healthylife.service;

import top.healthylife.domain.Permission;
import top.healthylife.entity.PageResult;
import top.healthylife.entity.QueryPageBean;
import top.healthylife.entity.Result;

import java.util.List;

/**
 * @author GaoZeXi 2020-4-24 11:11:18
 */
public interface PermissionService {
    PageResult findPage(QueryPageBean queryPageBean);

    void add(Permission permission);

    void deleteById(Integer id);

    void updateById(Permission permission);

    List<Permission> findAll();

    Permission findById(Integer id);
}
